
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol MB_TimeViewDelegate <NSObject>

@optional

- (void)mbleftButtonAction;
- (void)mbrightButtonAction;
- (void)mbchangeTime:(UIDatePicker *)datePicker;

@end

@interface MB_TimeView : UIView

@property (nonatomic, weak) id<MB_TimeViewDelegate> delegate;

- (void)mbsetDatePickerMode:(UIDatePickerMode)datePickerMode;

- (void)mbsetMinimumDate:(NSDate *)minimumDate;

- (void)mbshow;

@end

NS_ASSUME_NONNULL_END
